package com.hilon.foundation.simpler;


import com.hilon.foundation.simplest.EntityBaseSimplest;
import jakarta.persistence.Entity;
import jakarta.persistence.Inheritance;
import jakarta.persistence.InheritanceType;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class EntityBaseSimpler extends EntityBaseSimplest {
    private String categoryName;
    @Override
    public String toString() {
        return "EntityBaseSimpler{" +
                ", categoryName='" + categoryName + '\'' +
                "} " + super.toString();
    }
}
